﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ECCSystem.BizRule
{ 
    class ClsJapans
    {
        private DataAccess.ClsJapans objJapans = new ECCSystem.DataAccess.ClsJapans();
        private ClsCommon objCommon = new ClsCommon();
        public ClsJapans()
        { }
        public object GetTodaysData(string strECCDate)
        {
            return objJapans.GetTodaysData(strECCDate);
        }

        public int AddJapans(int intSpan1, int intSpan2, int intSpan3, int intSpan4
            , int intSpan5, int intSpan6, int intSpan7, int intSpan8, int intSpan9
            , int intSpan10, int intSpan11, int intSpan12, int intSpan13, int intSpan14
            , int intSpan15, int intSpan16, int intSpan17, int intSpan18, int intSpan19)
        {
            string strOperator = ClsCommon.gStrOperator;
            string strECCDate = objCommon.GetECCDate(DateTime.Now);
            return objJapans.AddJapans(intSpan1, intSpan2, intSpan3, intSpan4, intSpan5, intSpan6,
                intSpan7,intSpan8,intSpan9,intSpan10,intSpan11,intSpan12,intSpan13,
                intSpan14,intSpan15,intSpan16,intSpan17,intSpan18,intSpan19,strOperator,strECCDate);
        }

        public int EditJapans(int intSpan1, int intSpan2, int intSpan3, int intSpan4
            , int intSpan5, int intSpan6, int intSpan7, int intSpan8, int intSpan9
            , int intSpan10, int intSpan11, int intSpan12, int intSpan13, int intSpan14
            , int intSpan15, int intSpan16, int intSpan17, int intSpan18, int intSpan19)
        {
            string strOperator = ClsCommon.gStrOperator;
            string strECCDate = objCommon.GetECCDate(DateTime.Now);
            return objJapans.EditJapans(intSpan1, intSpan2, intSpan3, intSpan4, intSpan5, intSpan6,
                intSpan7, intSpan8, intSpan9, intSpan10, intSpan11, intSpan12, intSpan13,
                intSpan14, intSpan15, intSpan16, intSpan17, intSpan18, intSpan19,strOperator,strECCDate);
        }
    }
}
